package main

import (
	"fmt"
	"mxsop-web/user-web/initialize"
)

import (
	"go.uber.org/zap"
)

func main() {
	port := 8021
	initialize.InitLog()
	Router := initialize.Routers()
	zap.L().Info(fmt.Sprintf("启动服务器,端口号%d", port))
	err := Router.Run(fmt.Sprintf("0.0.0.0:%d", port))
	if err != nil {
		zap.L().Panic("启动失败！！！" + err.Error())
	}
}
